
// 定位的盒子
.index_botton{
    width: 48px;
    height: 240px;
    position: fixed;
    top: 50%;
    z-index: 999;
    margin-top: -120px;
    right: 0;
    // 弹性盒布局
    .index_botton_flex{
        display: flex;
        flex-direction: column;
        // a标签样式
        a{
            cursor: pointer;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: hsla(0,0%,100%,.7);
            box-shadow: 0 3px 9px rgb(0 0 0 / 23%);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 10px 0;
            // 默认显示
            img{
                width: 24px;
                height: 24px;
                position: absolute;
            }
            // 滑动显示的文字
            span{
                width: 48px;
                position: absolute;
                text-align: center;
                display: none;
                color: #009ce5;
                font-size: 12px;
            }
            // 滑档显示的图片
            div{
                width: 80px;
                height: 80px;
                position: absolute;
                display: none;
                right: 57px;
                top: 0;
                img{
                    width: 80px;
                    height: 80px;
                }

            }
            // 鼠标滑动所用的都显示
            &:hover *{
                display: block;
            }
            // 鼠标滑动默认图片消失
            &:hover>img{
                display: none;
            }
            // 默认隐藏回到顶部
            &:nth-child(3){
                opacity: 0;
            }
        }
    }
}